.class Lcom/inmobi/androidsdk/IMAdView$a;
.super Landroid/os/Handler;
.source "IMAdView.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/inmobi/androidsdk/IMAdView;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x8
    name = "a"
.end annotation


# instance fields
.field private final a:Ljava/lang/ref/WeakReference;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/lang/ref/WeakReference",
            "<",
            "Lcom/inmobi/androidsdk/IMAdView;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Lcom/inmobi/androidsdk/IMAdView;)V
    .locals 1
    .parameter

    .prologue
    .line 1039
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    .line 1040
    new-instance v0, Ljava/lang/ref/WeakReference;

    invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    iput-object v0, p0, Lcom/inmobi/androidsdk/IMAdView$a;->a:Ljava/lang/ref/WeakReference;

    .line 1041
    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 10
    .parameter

    .prologue
    const/16 v9, 0x6b

    const/4 v3, 0x1

    const/4 v8, 0x0

    const/4 v7, 0x0

    const/16 v6, 0x65

    .line 1045
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView$a;->a:Ljava/lang/ref/WeakReference;

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/inmobi/androidsdk/IMAdView;

    .line 1048
    if-eqz v0, :cond_0

    .line 1050
    iget v1, p1, Landroid/os/Message;->what:I

    packed-switch v1, :pswitch_data_0

    .line 1220
    :cond_0
    :goto_0
    :pswitch_0
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 1221
    :cond_1
    return-void

    .line 1052
    :pswitch_1
    invoke-static {v0}, Lcom/inmobi/androidsdk/IMAdView;->c(Lcom/inmobi/androidsdk/IMAdView;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 1053
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v1

    invoke-static {v0}, Lcom/inmobi/androidsdk/IMAdView;->d(Lcom/inmobi/androidsdk/IMAdView;)J

    move-result-wide v3

    sub-long/2addr v1, v3

    .line 1055
    new-instance v3, Lorg/json/JSONObject;

    invoke-direct {v3}, Lorg/json/JSONObject;-><init>()V

    .line 1057
    :try_start_0
    const-string v4, "ad"

    invoke-static {v0}, Lcom/inmobi/androidsdk/IMAdView;->e(Lcom/inmobi/androidsdk/IMAdView;)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v3, v4, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    .line 1058
    const-string v4, "t"

    invoke-virtual {v3, v4, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;J)Lorg/json/JSONObject;
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    .line 1064
    :goto_1
    invoke-virtual {v0}, Lcom/inmobi/androidsdk/IMAdView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    new-instance v2, Lcom/inmobi/androidsdk/impl/metric/EventLog;

    sget-object v4, Lcom/inmobi/androidsdk/impl/metric/EventType;->FETCH_COMPLETE:Lcom/inmobi/androidsdk/impl/metric/EventType;

    invoke-direct {v2, v4, v3}, Lcom/inmobi/androidsdk/impl/metric/EventLog;-><init>(Lcom/inmobi/androidsdk/impl/metric/EventType;Lorg/json/JSONObject;)V

    invoke-static {v1, v2}, Lcom/inmobi/androidsdk/impl/metric/Logger;->logEvent(Landroid/content/Context;Lcom/inmobi/androidsdk/impl/metric/EventLog;)V

    .line 1068
    :cond_2
    invoke-virtual {p0, v9}, Lcom/inmobi/androidsdk/IMAdView$a;->removeMessages(I)V

    .line 1070
    invoke-static {v0}, Lcom/inmobi/androidsdk/IMAdView;->f(Lcom/inmobi/androidsdk/IMAdView;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/inmobi/androidsdk/IMAdView;->a(Lcom/inmobi/androidsdk/IMAdView;Ljava/lang/String;)V

    goto :goto_0

    .line 1059
    :catch_0
    move-exception v1

    .line 1060
    const-string v1, "InMobiAndroidSDK_3.7.0"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "Error creating metric logs for fetch_complete at "

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v4

    invoke-virtual {v2, v4, v5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/inmobi/commons/internal/Log;->internal(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_1

    .line 1073
    :pswitch_2
    invoke-virtual {p0, v9}, Lcom/inmobi/androidsdk/IMAdView$a;->removeMessages(I)V

    .line 1074
    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Lcom/inmobi/androidsdk/IMAdRequest$ErrorCode;

    .line 1075
    invoke-static {v0, v6, v1}, Lcom/inmobi/androidsdk/IMAdView;->a(Lcom/inmobi/androidsdk/IMAdView;ILcom/inmobi/androidsdk/IMAdRequest$ErrorCode;)V

    .line 1077
    invoke-static {v0, v7}, Lcom/inmobi/androidsdk/IMAdView;->a(Lcom/inmobi/androidsdk/IMAdView;Z)V

    goto :goto_0

    .line 1080
    :pswitch_3
    const/16 v1, 0x6c

    invoke-virtual {p0, v1}, Lcom/inmobi/androidsdk/IMAdView$a;->removeMessages(I)V

    .line 1081
    invoke-virtual {p0, v6}, Lcom/inmobi/androidsdk/IMAdView$a;->removeMessages(I)V

    .line 1082
    sget-object v1, Lcom/inmobi/androidsdk/IMAdRequest$ErrorCode;->INTERNAL_ERROR:Lcom/inmobi/androidsdk/IMAdRequest$ErrorCode;

    invoke-static {v0, v6, v1}, Lcom/inmobi/androidsdk/IMAdView;->a(Lcom/inmobi/androidsdk/IMAdView;ILcom/inmobi/androidsdk/IMAdRequest$ErrorCode;)V

    goto :goto_0

    .line 1088
    :pswitch_4
    invoke-static {v0}, Lcom/inmobi/androidsdk/IMAdView;->c(Lcom/inmobi/androidsdk/IMAdView;)Z

    move-result v1

    if-eqz v1, :cond_3

    .line 1089
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v1

    invoke-static {v0}, Lcom/inmobi/androidsdk/IMAdView;->g(Lcom/inmobi/androidsdk/IMAdView;)J

    move-result-wide v3

    sub-long/2addr v1, v3

    .line 1091
    new-instance v3, Lorg/json/JSONObject;

    invoke-direct {v3}, Lorg/json/JSONObject;-><init>()V

    .line 1093
    :try_start_1
    const-string v4, "ad"

    invoke-static {v0}, Lcom/inmobi/androidsdk/IMAdView;->e(Lcom/inmobi/androidsdk/IMAdView;)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v3, v4, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    .line 1094
    const-string v4, "t"

    invoke-virtual {v3, v4, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;J)Lorg/json/JSONObject;
    :try_end_1
    .catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_1

    .line 1100
    :goto_2
    invoke-virtual {v0}, Lcom/inmobi/androidsdk/IMAdView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    new-instance v2, Lcom/inmobi/androidsdk/impl/metric/EventLog;

    sget-object v4, Lcom/inmobi/androidsdk/impl/metric/EventType;->RENDER_TIMEOUT:Lcom/inmobi/androidsdk/impl/metric/EventType;

    invoke-direct {v2, v4, v3}, Lcom/inmobi/androidsdk/impl/metric/EventLog;-><init>(Lcom/inmobi/androidsdk/impl/metric/EventType;Lorg/json/JSONObject;)V

    invoke-static {v1, v2}, Lcom/inmobi/androidsdk/impl/metric/Logger;->logEvent(Landroid/content/Context;Lcom/inmobi/androidsdk/impl/metric/EventLog;)V

    .line 1104
    :cond_3
    const/16 v1, 0x6f

    invoke-virtual {p0, v1}, Lcom/inmobi/androidsdk/IMAdView$a;->removeMessages(I)V

    .line 1105
    invoke-virtual {p0, v6}, Lcom/inmobi/androidsdk/IMAdView$a;->removeMessages(I)V

    .line 1106
    invoke-static {v0, v7}, Lcom/inmobi/androidsdk/IMAdView;->a(Lcom/inmobi/androidsdk/IMAdView;Z)V

    .line 1108
    invoke-static {v0}, Lcom/inmobi/androidsdk/IMAdView;->h(Lcom/inmobi/androidsdk/IMAdView;)Z

    move-result v1

    if-eqz v1, :cond_4

    .line 1109
    invoke-static {v0}, Lcom/inmobi/androidsdk/IMAdView;->i(Lcom/inmobi/androidsdk/IMAdView;)Lcom/inmobi/re/container/IMWebView;

    move-result-object v1

    .line 1110
    invoke-static {v0, v8}, Lcom/inmobi/androidsdk/IMAdView;->a(Lcom/inmobi/androidsdk/IMAdView;Lcom/inmobi/re/container/IMWebView;)Lcom/inmobi/re/container/IMWebView;

    .line 1115
    :goto_3
    invoke-virtual {v1}, Lcom/inmobi/re/container/IMWebView;->cancelLoad()V

    .line 1116
    invoke-virtual {v1}, Lcom/inmobi/re/container/IMWebView;->stopLoading()V

    .line 1117
    invoke-virtual {v1}, Lcom/inmobi/re/container/IMWebView;->deinit()V

    .line 1118
    sget-object v1, Lcom/inmobi/androidsdk/IMAdRequest$ErrorCode;->AD_RENDERING_TIMEOUT:Lcom/inmobi/androidsdk/IMAdRequest$ErrorCode;

    invoke-static {v0, v6, v1}, Lcom/inmobi/androidsdk/IMAdView;->a(Lcom/inmobi/androidsdk/IMAdView;ILcom/inmobi/androidsdk/IMAdRequest$ErrorCode;)V

    goto/16 :goto_0

    .line 1095
    :catch_1
    move-exception v1

    .line 1096
    const-string v1, "InMobiAndroidSDK_3.7.0"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "Error creating metric logs for fetch_complete at "

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v4

    invoke-virtual {v2, v4, v5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/inmobi/commons/internal/Log;->internal(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_2

    .line 1112
    :cond_4
    invoke-static {v0}, Lcom/inmobi/androidsdk/IMAdView;->j(Lcom/inmobi/androidsdk/IMAdView;)Lcom/inmobi/re/container/IMWebView;

    move-result-object v1

    .line 1113
    invoke-static {v0, v8}, Lcom/inmobi/androidsdk/IMAdView;->b(Lcom/inmobi/androidsdk/IMAdView;Lcom/inmobi/re/container/IMWebView;)Lcom/inmobi/re/container/IMWebView;

    goto :goto_3

    .line 1123
    :pswitch_5
    const/16 v1, 0x6d

    invoke-virtual {p0, v1}, Lcom/inmobi/androidsdk/IMAdView$a;->removeMessages(I)V

    .line 1124
    const/16 v1, 0x6e

    invoke-virtual {p0, v1}, Lcom/inmobi/androidsdk/IMAdView$a;->removeMessages(I)V

    .line 1126
    invoke-static {v0}, Lcom/inmobi/androidsdk/IMAdView;->k(Lcom/inmobi/androidsdk/IMAdView;)Lcom/inmobi/androidsdk/impl/net/RequestResponseManager;

    move-result-object v1

    invoke-virtual {v1}, Lcom/inmobi/androidsdk/impl/net/RequestResponseManager;->doCancel()V

    .line 1127
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v1

    invoke-static {v0}, Lcom/inmobi/androidsdk/IMAdView;->d(Lcom/inmobi/androidsdk/IMAdView;)J

    move-result-wide v3

    sub-long/2addr v1, v3

    .line 1129
    invoke-static {v0}, Lcom/inmobi/androidsdk/IMAdView;->c(Lcom/inmobi/androidsdk/IMAdView;)Z

    move-result v3

    if-eqz v3, :cond_5

    .line 1130
    new-instance v3, Lorg/json/JSONObject;

    invoke-direct {v3}, Lorg/json/JSONObject;-><init>()V

    .line 1132
    :try_start_2
    const-string v4, "t"

    invoke-virtual {v3, v4, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;J)Lorg/json/JSONObject;

    .line 1133
    const-string v1, "m"

    const/4 v2, 0x1

    invoke-virtual {v3, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;
    :try_end_2
    .catch Lorg/json/JSONException; {:try_start_2 .. :try_end_2} :catch_2

    .line 1139
    :goto_4
    invoke-virtual {v0}, Lcom/inmobi/androidsdk/IMAdView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    new-instance v2, Lcom/inmobi/androidsdk/impl/metric/EventLog;

    sget-object v4, Lcom/inmobi/androidsdk/impl/metric/EventType;->CONNECT_ERROR:Lcom/inmobi/androidsdk/impl/metric/EventType;

    invoke-direct {v2, v4, v3}, Lcom/inmobi/androidsdk/impl/metric/EventLog;-><init>(Lcom/inmobi/androidsdk/impl/metric/EventType;Lorg/json/JSONObject;)V

    invoke-static {v1, v2}, Lcom/inmobi/androidsdk/impl/metric/Logger;->logEvent(Landroid/content/Context;Lcom/inmobi/androidsdk/impl/metric/EventLog;)V

    .line 1143
    :cond_5
    invoke-static {v0, v7}, Lcom/inmobi/androidsdk/IMAdView;->a(Lcom/inmobi/androidsdk/IMAdView;Z)V

    .line 1144
    sget-object v1, Lcom/inmobi/androidsdk/IMAdRequest$ErrorCode;->AD_FETCH_TIMEOUT:Lcom/inmobi/androidsdk/IMAdRequest$ErrorCode;

    invoke-static {v0, v6, v1}, Lcom/inmobi/androidsdk/IMAdView;->a(Lcom/inmobi/androidsdk/IMAdView;ILcom/inmobi/androidsdk/IMAdRequest$ErrorCode;)V

    goto/16 :goto_0

    .line 1134
    :catch_2
    move-exception v1

    .line 1135
    const-string v1, "InMobiAndroidSDK_3.7.0"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "Error creating metric logs for error at "

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v4

    invoke-virtual {v2, v4, v5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/inmobi/commons/internal/Log;->internal(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_4

    .line 1149
    :pswitch_6
    invoke-static {v0}, Lcom/inmobi/androidsdk/IMAdView;->l(Lcom/inmobi/androidsdk/IMAdView;)I

    move-result v1

    const/4 v2, -0x1

    if-eq v1, v2, :cond_1

    .line 1153
    invoke-static {v0}, Lcom/inmobi/androidsdk/IMAdView;->m(Lcom/inmobi/androidsdk/IMAdView;)Landroid/app/Activity;

    move-result-object v1

    invoke-virtual {v1}, Landroid/app/Activity;->hasWindowFocus()Z

    move-result v1

    if-nez v1, :cond_6

    .line 1154
    const-string v1, "InMobiAndroidSDK_3.7.0"

    const-string v2, "Activity is not in the foreground. New ad will not be loaded."

    invoke-static {v1, v2}, Lcom/inmobi/commons/internal/Log;->debug(Ljava/lang/String;Ljava/lang/String;)V

    .line 1163
    :goto_5
    invoke-static {v0}, Lcom/inmobi/androidsdk/IMAdView;->n(Lcom/inmobi/androidsdk/IMAdView;)Lcom/inmobi/androidsdk/impl/UserInfo;

    move-result-object v1

    if-eqz v1, :cond_0

    .line 1164
    invoke-static {v0}, Lcom/inmobi/androidsdk/IMAdView;->n(Lcom/inmobi/androidsdk/IMAdView;)Lcom/inmobi/androidsdk/impl/UserInfo;

    move-result-object v0

    invoke-virtual {v0, v3}, Lcom/inmobi/androidsdk/impl/UserInfo;->setRefreshType(I)V

    goto/16 :goto_0

    .line 1156
    :cond_6
    sget-object v1, Lcom/inmobi/re/container/mraidimpl/MRAIDInterstitialController;->isInterstitialDisplayed:Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-virtual {v1}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z

    move-result v1

    if-eqz v1, :cond_7

    .line 1158
    const-string v1, "InMobiAndroidSDK_3.7.0"

    const-string v2, "Ad cannot be loaded.Interstitial Ad is displayed."

    invoke-static {v1, v2}, Lcom/inmobi/commons/internal/Log;->debug(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_5

    .line 1161
    :cond_7
    invoke-virtual {v0}, Lcom/inmobi/androidsdk/IMAdView;->loadNewAd()V

    goto :goto_5

    .line 1170
    :pswitch_7
    invoke-static {v0}, Lcom/inmobi/androidsdk/IMAdView;->c(Lcom/inmobi/androidsdk/IMAdView;)Z

    move-result v1

    if-eqz v1, :cond_8

    .line 1171
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v1

    invoke-static {v0}, Lcom/inmobi/androidsdk/IMAdView;->d(Lcom/inmobi/androidsdk/IMAdView;)J

    move-result-wide v3

    sub-long/2addr v1, v3

    .line 1173
    new-instance v3, Lorg/json/JSONObject;

    invoke-direct {v3}, Lorg/json/JSONObject;-><init>()V

    .line 1175
    :try_start_3
    const-string v4, "ad"

    invoke-static {v0}, Lcom/inmobi/androidsdk/IMAdView;->e(Lcom/inmobi/androidsdk/IMAdView;)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v3, v4, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    .line 1176
    const-string v4, "t"

    invoke-virtual {v3, v4, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;J)Lorg/json/JSONObject;
    :try_end_3
    .catch Lorg/json/JSONException; {:try_start_3 .. :try_end_3} :catch_3

    .line 1182
    :goto_6
    invoke-virtual {v0}, Lcom/inmobi/androidsdk/IMAdView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    new-instance v2, Lcom/inmobi/androidsdk/impl/metric/EventLog;

    sget-object v4, Lcom/inmobi/androidsdk/impl/metric/EventType;->RENDER_COMPLETE:Lcom/inmobi/androidsdk/impl/metric/EventType;

    invoke-direct {v2, v4, v3}, Lcom/inmobi/androidsdk/impl/metric/EventLog;-><init>(Lcom/inmobi/androidsdk/impl/metric/EventType;Lorg/json/JSONObject;)V

    invoke-static {v1, v2}, Lcom/inmobi/androidsdk/impl/metric/Logger;->logEvent(Landroid/content/Context;Lcom/inmobi/androidsdk/impl/metric/EventLog;)V

    .line 1186
    :cond_8
    const/16 v1, 0x6c

    invoke-virtual {p0, v1}, Lcom/inmobi/androidsdk/IMAdView$a;->removeMessages(I)V

    .line 1189
    invoke-static {v0}, Lcom/inmobi/androidsdk/IMAdView;->o(Lcom/inmobi/androidsdk/IMAdView;)Z

    move-result v1

    if-eqz v1, :cond_9

    .line 1190
    invoke-static {v0}, Lcom/inmobi/androidsdk/IMAdView;->p(Lcom/inmobi/androidsdk/IMAdView;)V

    .line 1191
    invoke-static {v0, v7}, Lcom/inmobi/androidsdk/IMAdView;->b(Lcom/inmobi/androidsdk/IMAdView;Z)Z

    goto/16 :goto_0

    .line 1177
    :catch_3
    move-exception v1

    .line 1178
    const-string v1, "InMobiAndroidSDK_3.7.0"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "Error creating metric logs for fetch_complete at "

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v4

    invoke-virtual {v2, v4, v5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/inmobi/commons/internal/Log;->internal(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_6

    .line 1192
    :cond_9
    invoke-static {v0}, Lcom/inmobi/androidsdk/IMAdView;->q(Lcom/inmobi/androidsdk/IMAdView;)Lcom/inmobi/androidsdk/IMAdView$AnimationType;

    move-result-object v1

    sget-object v2, Lcom/inmobi/androidsdk/IMAdView$AnimationType;->ANIMATION_OFF:Lcom/inmobi/androidsdk/IMAdView$AnimationType;

    if-ne v1, v2, :cond_a

    .line 1193
    invoke-static {v0}, Lcom/inmobi/androidsdk/IMAdView;->p(Lcom/inmobi/androidsdk/IMAdView;)V

    goto/16 :goto_0

    .line 1195
    :cond_a
    invoke-static {v0}, Lcom/inmobi/androidsdk/IMAdView;->r(Lcom/inmobi/androidsdk/IMAdView;)Lcom/inmobi/androidsdk/d;

    move-result-object v1

    invoke-static {v0}, Lcom/inmobi/androidsdk/IMAdView;->q(Lcom/inmobi/androidsdk/IMAdView;)Lcom/inmobi/androidsdk/IMAdView$AnimationType;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/inmobi/androidsdk/d;->a(Lcom/inmobi/androidsdk/IMAdView$AnimationType;)V

    goto/16 :goto_0

    .line 1201
    :pswitch_8
    invoke-static {v0, v7}, Lcom/inmobi/androidsdk/IMAdView;->c(Lcom/inmobi/androidsdk/IMAdView;Z)V

    goto/16 :goto_0

    .line 1204
    :pswitch_9
    const/16 v1, 0x67

    invoke-static {v0, v1, v8}, Lcom/inmobi/androidsdk/IMAdView;->a(Lcom/inmobi/androidsdk/IMAdView;ILcom/inmobi/androidsdk/IMAdRequest$ErrorCode;)V

    goto/16 :goto_0

    .line 1209
    :pswitch_a
    const/16 v1, 0x66

    invoke-static {v0, v1, v8}, Lcom/inmobi/androidsdk/IMAdView;->a(Lcom/inmobi/androidsdk/IMAdView;ILcom/inmobi/androidsdk/IMAdRequest$ErrorCode;)V

    goto/16 :goto_0

    .line 1214
    :pswitch_b
    const/16 v1, 0x68

    invoke-static {v0, v1, v8}, Lcom/inmobi/androidsdk/IMAdView;->a(Lcom/inmobi/androidsdk/IMAdView;ILcom/inmobi/androidsdk/IMAdRequest$ErrorCode;)V

    goto/16 :goto_0

    .line 1050
    nop

    :pswitch_data_0
    .packed-switch 0x64
        :pswitch_6
        :pswitch_7
        :pswitch_8
        :pswitch_0
        :pswitch_9
        :pswitch_a
        :pswitch_b
        :pswitch_5
        :pswitch_4
        :pswitch_1
        :pswitch_2
        :pswitch_3
    .end packed-switch
.end method
